package tw.com.softleader.cal.service;

import org.springframework.stereotype.Service;

import tw.com.softleader.cal.dao.CalculateDao;

@Service
public class CalService {
	
	private CalculateDao dao;
	
	public Integer add(Integer a, Integer b){
		return new Integer(a+b);
	}
	
	public String getOne(Long id){
		return dao.getOne(id);
	}

	public void setDao(CalculateDao dao) {
		this.dao = dao;
	}
	
}
